home *** CD-ROM | disk | FTP | other *** search
- Path: news.itd.umich.edu!usenet
- From: mschunde@umich.edu (Mark Schunder)
- Newsgroups: comp.lang.c
- Subject: Linker ERROR: BC4 -- HELP!!!
- Date: Tue, 16 Jan 1996 02:32:20 GMT
- Organization: University of Michigan
- Message-ID: <4denut$2k9@lastactionhero.rs.itd.umich.edu>
- Reply-To: mschunde@umich.edu
- NNTP-Posting-Host: nas1-12.dialup.umd.umich.edu
- X-Newsreader: Forte Free Agent 1.0.82
-
-
- Here is the error I'm getting when i compile my project under BC4:
-
- Linker Error: _uiKey defined in module KEYBOARD.C is duplicated in
- module MAIN.C
-
- KeybTaskHandle and uiKey are suppose to be global varaibles. uiKey is
- accessed by two different c files : Keyboard.c (this file updates
- uiKey with the ascii when the user presses a key on the keyboard) and
- main.c (this file monitors uiKey, when it changes, it repaints the
- screen according to the value of uiKey).
-
- I do not know why I'm getting these errors. I have the keyboard.c
- header file included in both KEYBOARD.c and MAIN.C (so both sets of
- files can see the variable and read and update the variables
- accordingly).
-
- Please HELP!
-
- -Mark Schunder
-
-